<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>提交订单 | 聚点团购</title>
<jsp:include page="home/style.jsp" />
<jsp:include page="home/vForm.jsp" />
</head>
<body>
<div class="topbg"></div>
<div class="container">
	<s:include value="/page/home/top.jsp" />
    <div class="main">
    	<s:include value="/page/home/left.jsp" />
        <div class="content">
        	<div class="today_tuan">
            	<div class="cont_top"></div>
                <div class="cont_body">
                	<div class="regist">
                    	<div class="regist_tit"><span>提交订单</span></div>
	                        <table class="buylist">
	                        	<tr>
	                            	<th>项目</th>
	                            	<th class="tlc w80">数量</th>
	                                <th class="w15"></th>
	                            	<th class="tlc w50">价格</th>
	                                <th class="w15"></th>
	                            	<th class="tlc w80">总价</th>
	                            </tr>
	                            <tr class="brd_blue">
	                            	<td class="w360">${order.tuangou.simpleDescribe}</td>
	                            	<td class="tlc">${order.piece}</td>
	                            	<td>x</td>
	                            	<td class="tlc"><span class="bold" id="price">¥${order.tuangou.currentPrice}</span></td>
	                                <td class="tlc">=</td>
	                                <td class="tlc"><span class="bold fosize24 total">￥${order.amount}</span></td>
	                            </tr>
	                            <tr>
	                            	<td colspan="4" class="red"><span class="bold">应付总额</span></td>
	                                <td class="red tlc">=</td>
	                                <td class="red tlc"><span class="bold fosize24 total">￥${order.amount}</span></td>
	                            </tr>
	                            <tr>
	                            	<th colspan="6"><span class="bold">您的手机号</span></th>
	                            </tr>
	                            <tr>
	                            	<td colspan="6">聚点团券密码发到您的手机&nbsp;${currentUser.phone}&nbsp;，凭短信去商家消费</td>
	                            </tr>
	                            <tr>
	                            	<td colspan="6"><a href='<s:url value="/order/%{orderId}/buy"/>'><input type="button" class="buy_btn" value="确认无误购买" /></a></td>
	                            </tr>
	                        </table>
                    </div>
                </div>
                <div class="cont_down2"></div>
            </div>
            
            <s:include value="/page/home/footer.jsp" />
        </div>
    </div>
</div>
<script type="text/javascript">init();</script>
</body>
</html>
